#include <STC89C5xRC.H>
#include "LCD1602.h"
#include "Delay.h"

void main()
{	
	LCD1602_Init();
	LCD1602_ShowChar(1,1,'A');
	LCD1602_ShowString(1,3,"Hello");
	LCD1602_ShowNum(1,9,123,3);
	LCD1602_ShowSignedNum(1,13,-134,3);
	LCD1602_ShowHexNum(2,1,0xA5,2);
	LCD1602_ShowBinNum(2,4,0xA5,8);
	LCD1602_ShowString(2,14,"O_o");
	LCD1602_ShowString(1,17,"Welcome to China!");
	while(1)
	{
		LCD1602_WriteCommand(0x18);
		Delay(200);
	}
}